<!DOCTYPE html>
<html lang="ko">
<head>
	<meta charset="UTF-8">
	<title>Form Feedback</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!-- Bootstrap -->
	<link href="../css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
	<div class="container">
		<div class="row">
        	<div class="span12">
	<?php # Script 2.5 - handle_form03.php
	
	// Print the submitted information:
	if (!empty($_POST['name']) && !empty($_POST['comments']) && !empty($_POST['email'])) {
		echo "<p>Thank you, <b>{$_POST['name']}</b>, for the following comments:<br/>
		<tt>{$_POST['comments']}</tt></p>
		<p>We will reply to you at <i>{$_POST['email']}</i></p>";
	} else { // Missing form value.
		echo '<p class="text-error">Please go back and fill out the form again.</p>';
	}

	?>
			</div>
		</div>
	</div>
	<script src="http://code.jquery.com/jquery.js"></script>
	<script src="../js/bootstrap.min.js"></script>
</body>
</html>